﻿using System;
using System.Xml.Serialization;
using Harvest.Api.Types;

namespace Harvest.Api.Model.Internal
{


    /// <summary>
    /// 
    /// </summary>
    /// <remarks>
    /// Don't change the XmlElement attributes, otherwise (de)serialization will fail.
    /// </remarks>
    [XmlRoot(ElementName = "daily", IsNullable = false)]
    public class DailyItem
    {

        /// <summary>
        /// 
        /// </summary>
        [XmlElement(ElementName = "for_day")]
        public string ForDay { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [XmlElement(ElementName = "day_entries")]
        public DayEntries DayEntries { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [XmlElement(ElementName = "projects")]
        public Projects[] Projects { get; set; }

    }

}
